#include <e32base.h>

#include "scatu/ServerMain.h"
#include "NfcApiBridgeServer.h"

TInt E32Main()
//
// Server process entry-point
//
    {
    __UHEAP_MARK;
    //
    CTrapCleanup* cleanup=CTrapCleanup::New();
    TInt r=KErrNoMemory;
    if (cleanup)
        {
        TRAP(r, scatu::RunServerL<CNfcApiBridgeServer>());
        delete cleanup;
        }
    //
    __UHEAP_MARKEND;
    return r;
    }
